<?php
/**
 * Created by PhpStorm
 * User: honglin
 * Date: 2022/9/8
 * Time: 下午3:52
 */

namespace Yj\Model;

use App\Model\System\SystemFile;
use App\Model\User\User;

trait UserTrait
{
    public function User()
    {
        return $this->hasOne(User::class, 'uid', 'user_id');
    }
}